package com.lsp.microorder.pay.service;


import com.lsp.microcommon.entity.DropOrder;
import com.lsp.microorder.pay.param.PayResultParam;
import com.lsp.microorder.pay.param.TradePayParam;
import com.lsp.microorder.pay.vo.PayH5Vo;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 针对业务订单的接口
 */
public interface TradeOrderPayService {

    PayH5Vo tradeOrderPay(TradePayParam param);
//    统一的回调处理
    void payNotify(HttpServletRequest request, HttpServletResponse response);

    void payReturnUrl(HttpServletRequest request,HttpServletResponse response);

    String payStates(String orderNo,Integer payType);

    void payFinish(PayResultParam param);

    void closePay(String orderNo,Integer payType);

    public void sendDropDelayMsg(DropOrder dropOrder);
}
